package utils

import org.groovymud.shell.io.TerminalIO


class TerminalIOStub implements TerminalIO {
    StringBuffer stringBuffer = new StringBuffer()

    String toString(){
        return stringBuffer.toString()
    }

    void write(String string) {
        stringBuffer.append string
    }

    void flush() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void bell() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void close() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    boolean defineScrollRegion(int arg0, int arg1) {
        return false  //To change body of implemented methods use File | Settings | File Templates.
    }

    String deleteCharacters(String str, int number) {
        return null  //To change body of implemented methods use File | Settings | File Templates.
    }

    void eraseLine() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void eraseScreen() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void eraseToBeginOfLine() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void eraseToBeginOfScreen() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void eraseToEndOfLine() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void eraseToEndOfScreen() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void forceBold(boolean arg0) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    int getColumns() {
        return 0  //To change body of implemented methods use File | Settings | File Templates.
    }

    List getPreviousCommands() {
        return null  //To change body of implemented methods use File | Settings | File Templates.
    }

    int getRows() {
        return 0  //To change body of implemented methods use File | Settings | File Templates.
    }

    void homeCursor() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    boolean isLineWrapping() {
        return false  //To change body of implemented methods use File | Settings | File Templates.
    }

    void moveCursor(int arg0, int arg1) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void moveDown(int arg0) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void moveLeft(int arg0) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void setBold(boolean arg0) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void setCursor(int arg0, int arg1) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void setForegroundColor(int arg0) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void setBackgroundColor(int arg0) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void write(char arg0) {
      stringBuffer.append arg0
    }

    void write(byte arg0) {
        stringBuffer.append arg0
    }

    void storeCursor() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    void writeln(String string) {
        stringBuffer.append(string).append('\r\n')
    }

    String readln(boolean b) {
        return null  //To change body of implemented methods use File | Settings | File Templates.
    }
}
